package 第12届;

import java.util.*;

public class G_最少砝码 {
	List<Integer> item = new ArrayList<Integer>();
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		scan.close();
		
		
		
	}
	

}
